package cn.iocoder.yudao.module.design.controller.admin.reform.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 项目整改单 Excel 导出 Request VO，参数和 ReformPageReqVO 是一致的")
@Data
public class ReformExportReqVO {

    @Schema(description = "项目id", example = "3460")
    private Long houseId;

    @Schema(description = "流程id", example = "20702")
    private Long flowId;

    @Schema(description = "节点id", example = "24794")
    private Long nodeId;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "状态")
    private String statusCd;

    @Schema(description = "签字确认", example = "https://www.iocoder.cn")
    private String confirmUrl;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "类型", example = "2")
    private String reformType;

    @Schema(description = "确认人")
    private Long confirmUser;

}
